<?php
    function getMin($m, $n)
    {
        return $m<$n ? $m:$n;
    }
